]> dgit.raspbian.org Git - ostree.git/commit
repo: Fix validation for min-free-space-percent config option
authorwangzhaohui <wangzhaohui@uniontech.com>
Wed, 24 Jun 2026 01:00:47 +0000 (09:00 +0800)
committerwangzhaohui <wangzhaohui@uniontech.com>
Wed, 24 Jun 2026 01:00:47 +0000 (09:00 +0800)
commit3aa6dacf0938dabf3cb43b6c36d1def25d6dfbc1
treecec87cb696329e1256e0279a9307b53491ab604a
parent0a348dd1e2c380c6c35ab04c530746e2f49071da
repo: Fix validation for min-free-space-percent config option

Add explicit validation that the string contains only digits before
converting to a number. This ensures invalid values are rejected with
a clear error message.

Fixes: https://github.com/ostreedev/ostree/issues/3274
src/libostree/ostree-repo.c